package org.bbelovic.devel.exercises;

import java.util.List;

public final class LineEvaluatorInput {

    private final List<String> lineTokens;
    private final String currentLine;
    private final int currentValue;

    public LineEvaluatorInput(final List<String> lineTokens, final String currentLine, final int currentValue) {
        this.lineTokens = lineTokens;
        this.currentLine = currentLine;
        this.currentValue = currentValue;
    }

    public List<String> getLineTokens() {
        return lineTokens;
    }

    public String getCurrentLine() {
        return currentLine;
    }

    public int getCurrentValue() {
        return currentValue;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder();
        sb.append("LineEvaluatorInput[lineTokens="+ this.lineTokens)
          .append(", currentLine=" + currentLine)
          .append(", currentValue="+ currentValue)
          .append("]");
        return sb.toString();
    }
}
